home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 6 / FM Towns Free Software Collection 6.iso / t_os / igo / src / miabou.c < prev    next >
C/C++ Source or Header  |  1993-07-08  |  2KB  |  103 lines

  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <winb.h>
  4. #include <te.h>
  5. #include <fntb.h>
  6. #include <gui.h>
  7.  
  8. extern int    alertId ;
  9. extern int    aboutMesId[3] ;
  10. extern int    aboutBtnId ;
  11. extern int    eraseAboutFunc() ;
  12.  
  13. #define ALIGN    4
  14. #define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
  15.  
  16. /*    MMI_init 用データ    */
  17.  
  18. /*    ヘッダ    */
  19.  
  20. MMIINIT    initDataMIABOU = { "MmiInit",   5, 0 } ;
  21.  
  22. /* alertId */
  23.  
  24. static MMIPACKET d001 = {    &alertId,
  25.                             NULL,
  26.                             &MJ_ALERTL40,
  27.                             OFFSET(ALERTL40),
  28.                             MS_NONE
  29.                         } ;
  30. static ALERTL40    d001d = {    MS_BTLEFTL40 | MS_EVMOVEL40 | MS_EVMOSONL40 | MS_EVKEYONL40,
  31.                              204, 184, 435, 294, 0, 7, 0,
  32.                             MS_SRECTL40 | MS_FRAMEL40,
  33.                             NULL, 102,1004,
  34.                                0,   0,   0,   0
  35.                         } ;
  36.  
  37. /* aboutMesId[0] */
  38.  
  39. static MMIPACKET d002 = {    &aboutMesId[0],
  40.                             &alertId,
  41.                             &MJ_MSGL40,
  42.                             OFFSET(MSGL40),
  43.                             MS_NONE
  44.                         } ;
  45. static MSGL40    d002d =     {    MS_CENTERL40 | MS_DSPONLYL40,
  46.                              211, 192, 428, 214, 8, 7, 8,
  47.                             MS_NONEL40,
  48.                             "囲碁棋譜記録プログラム ver1.00",
  49.                                1,  12,  12,
  50.                             MS_BOLDL40,
  51.                                0,   0
  52.                         } ;
  53.  
  54. /* aboutBtnId */
  55.  
  56. static MMIPACKET d003 = {    &aboutBtnId,
  57.                             &alertId,
  58.                             &MJ_DBUTTONL40,
  59.                             OFFSET(DBUTTONL40),
  60.                             MS_NONE
  61.                         } ;
  62. static DBUTTONL40    d003d = {    MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
  63.                              280, 248, 359, 273,12, 7, 0,
  64.                             MS_PANELL40 | MS_FRAMEL40,
  65.                             eraseAboutFunc,
  66.                             0x8012
  67.                         } ;
  68.  
  69. /* aboutMesId[1] */
  70.  
  71. static MMIPACKET d004 = {    &aboutMesId[1],
  72.                             &alertId,
  73.                             &MJ_MSGL40,
  74.                             OFFSET(MSGL40),
  75.                             MS_NONE
  76.                         } ;
  77. static MSGL40    d004d =     {    MS_CENTERL40 | MS_DSPONLYL40,
  78.                              283, 250, 355, 273, 8, 7, 8,
  79.                             MS_NONEL40,
  80.                             "確 認",
  81.                                1,  12,  12,
  82.                             MS_BOLDL40,
  83.                                0,   0
  84.                         } ;
  85.  
  86. /* aboutMesId[2] */
  87.  
  88. static MMIPACKET d005 = {    &aboutMesId[2],
  89.                             &alertId,
  90.                             &MJ_MSGL40,
  91.                             OFFSET(MSGL40),
  92.                             MS_NONE
  93.                         } ;
  94. static MSGL40    d005d =     {    MS_CENTERL40 | MS_DSPONLYL40,
  95.                              211, 210, 428, 232, 8, 7, 8,
  96.                             MS_NONEL40,
  97.                             "Copyright (C) 久保田 俊也",
  98.                                1,  12,  12,
  99.                             MS_BOLDL40,
  100.                                0,   0
  101.                         } ;
  102.  
  103.